package mysite.mysite1.pojo;

public class Dog extends Animal {
    private String name = "李四";

    @Override
    public void hello1() {
        super.hello1();
    }

    public void hello2() {
        System.out.println("hello22");
    }
    /*public void hello3() {
        System.out.println("hello33");
    }*/


    public static void main(String[] args) {
        Dog dog = new Dog();
        System.out.println(dog.hobby);
        System.out.println(dog.name);
        dog.hello2();
        dog.hello3();
        Animal.hello3();

    }
}
